import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {GooBaseGoodsSpecificationComponent} from './goo-base-goods-specification.component';

const routes: Routes = [
    {path: '', component: GooBaseGoodsSpecificationComponent,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'add', loadChildren: './add-goo-base-goods-specification/add-goo-base-goods-specification.module#AddGooBaseGoodsSpecificationModule'},
            {path: 'list', loadChildren: './list-goo-base-goods-specification/list-goo-base-goods-specification.module#ListGooBaseGoodsSpecificationModule'},
            {path: 'modify', loadChildren: './modify-goo-base-goods-specification/modify-goo-base-goods-specification.module#ModifyGooBaseGoodsSpecificationModule'},
            {path: 'report', loadChildren: './report-goo-base-goods-specification/report-goo-base-goods-specification.module#ReportGooBaseGoodsSpecificationModule'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class GooBaseGoodsSpecificationRoutingModule {
}
